import type { tokenParams } from "@/types/user"
import { request } from "@/utils/reuqest"

//登陆
export const loginAPI = (data: object) => {
    return request<tokenParams>('/park/login','POST',data)
}